﻿// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "BehaviorTree/BTTaskNode.h"
#include "TaskSetAISpeed.generated.h"

/**
 * 
 */
UCLASS()
class COMBAT_GAME_CPP_API UTaskSetAISpeed : public UBTTaskNode
{
	GENERATED_BODY()

public:
	UTaskSetAISpeed();

	virtual EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override;

	virtual uint16 GetSpecialMemorySize() const override;

	UPROPERTY(EditAnywhere, BlueprintReadWrite)
	float Speed;
};
